Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v23.3.x] kafka: fix timequery when local log is empty #21321

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #21312

Before querying local log we bump the `timequery_config::min_offset`.
This offset is inclusive. When local log is empty, the min_offset points
one unit above the end of the log. In this PR, we add a check to return
early when this is the case.

(cherry picked from commit 3dd1c3a)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jul 10, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jul 10, 2024
@nvartolomei
Copy link
Contributor

/dt

1 similar comment
@nvartolomei
Copy link
Contributor

/dt

@nvartolomei
Copy link
Contributor

Unrelated failure due to a bad test. But suggested a fix anyway

cc @dotnwat please help merging this 🙇

@piyushredpanda piyushredpanda merged commit 5007398 into redpanda-data:v23.3.x Jul 22, 2024
15 of 18 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.19 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants